/**
 * (C) copyright geolabs 2006
 * author: Gérald Fenoy
 */

/**
 * RSSView class
 */
RSSView=View.extend();
RSSView.define({

  root: "channel",

  rootValues: { 
    ct: "title",
    description: "description",
    ci: { src: "image.url", title: "image.title" }
  },

  rootElements: { 
    ct: "div",
    description: "div",
    ci: "img"
  },

  loop:"item",
  loopNode:"div",

  loopValues: { 
    cit: "title", 
    cil0: { href: "link" },
    cil1: { href: "link" },
    cieu: { src: "enclosure.url" },
    cid: "description",
    cip: "pubDate"
  },

  loopElements: { 
    cit: "div", 
    cil0: "a",
    cil1: "a",
    cieu: "img",
    cid: "div",
    cip: "span"
  },

  htmlValues: ["description","cid"],

  appUrl: "./modules/rss/RSSView.xml"

    });
